<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/18
 * Time: 15:37
 */

include_once APP_PATH . '/xxxphp/Controller.php';
Class IndexController extends Controller {
    public function index($param) {
        $model = new IndexModel();

        $result = $model->where(['id'=>'8'])->select();

        $this->assign('indexArr', $result);
        $this->fetch();

    }
    public function say() {
        print 'say';
    }
}
